//
//  CommonTools.swift
//  123
//
//  Created by pangjiaxing on 15/12/27.
//  Copyright © 2015年 pangjiaxing. All rights reserved.
//

import UIKit

let mainScreenBounces=UIScreen.mainScreen().bounds

let mainScreenW=UIScreen.mainScreen().bounds.width

let mainScreenH=UIScreen.mainScreen().bounds.height

// 表情选中通知
let HMEmoticonDidSelectedNotification = "HMEmoticonDidSelectedNotification"

// 随机颜色
func RandomColor() -> UIColor {
    
    return UIColor(red: CGFloat(arc4random() % 256) / 255, green: CGFloat(arc4random() % 256) / 255, blue: CGFloat(arc4random() % 256) / 255, alpha: 1)
}